﻿/************************************************************/
///         *                *                  *         ///
///       ***              * * *                ***       ///
///     *****            * * * * *              *****     ///
///   *******          * * * * * * *            *******   ///
/// *********        * * * * * * * * *          ********* ///
///   *******          * * * * * * *            *******   ///
///     *****            * * * * *              *****     ///
///       ***              * * *                ***       ///
///         *                *                  *         ///
/************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RegularTool
{
    /// <summary>
    /// RegularDef
    /// 创建人：njazy
    /// 创建时间：2021/8/23 14:25:06
    /// </summary>
    class RegularDef
    {
        public const string all = "^[0-9a-zA-Z\u4E00-\u9FA5<]+$";
        private static readonly string[] array = { "^[0-9a-zA-Z\u4E00-\u9FA5<]+$", "^[a-zA-Z]+$", "^[\u4e00-\u9fa5]+$",
        "[@#$*|/()\\[\\]{}'\"\\\\:?|=]","^-?\\d+$|^(-?\\d+)(\\.\\d+)?$",@"^\d+$",@"^[A-Za-z0-9]+$",@"^[A-Za-z0-9<]+$", @"^[a-zA-Z]+://(\w+(-\w+)*)(\.(\w+(-\w+)*))*(\?\S*)?$"};
        public static string[] RegularDefs
        {
            get
            {
                return array;
            }
        }
    }
}
